package com.hedl.practice.diyJava.multithreading.threadLocal.test;

public class StudyThreadLocal_1 {

    public static void main(String[] args) {
        log("start main...");
        new Thread(()->{
            log("run task...");
        }).start();
        new Thread(()->{
            log("print...");
        }).start();
        log("end main...");
    }
    static void log(String s){
        System.out.println(Thread.currentThread().getName()+": "+s);
    }
}
